import mysql.connector

conn = mysql.connector.connect(user='root', password='Pass@word',
                               host='localhost', port='3306',
                               database='python', use_unicode=True)
c = conn.cursor()
result=c.callproc('add_pro',(5,6,0))
print(result)
print(result[2])
c.close()
conn.close()
